<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的车辆</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="../../plugins/mui/mui.min.css">
    <script src="../../js/statistics.js"></script>
    <style>
        body{
            background-color: #fff;
        }
        /*title的样式覆盖*/
        .mui-bar{
            background-color:#2a2c33;
            top:0;
        }
        .mui-bar>a{
            color:#fff;
        }
        .mui-title{
            color:#fff;
        }
        .msg-box{
            text-align: center;
            padding:5.2vw; 
        }
        .msg-box img{
            width:85%;
            height:auto;
        }
        .msg-box p{
            margin:0 auto;
        }
        #addMsg{
            width: 100%;color: #fff;background-color: #58b8f4;border: none;height: 40px;line-height: 40px;padding: 0;font-size: 15px
        }
        #score{
            font-size: 13px;color: #FFA81D;width: 24vw;height: 7.2vw;line-height: 7.2vw;padding:0;border:1px solid #ffa81d;background-color: #ffffff;
        }
    </style>
</head>
<body>
    <div class="msg-box">
        <img src="../../images/my/index/car1.png" alt="">
        <p style="font-size: 17px;padding: 26px 0;color: #666;;">您还没有添加过车辆信息</p>
        <button id="addMsg" style="">点击添加</button>
        <p style="padding: 20px 0;font-size: 14px;">添加车辆信息，可获得3个积分</p>
        <button id="score" style="">查看现有积分</button>
    </div>
    <!--<script type="text/javascript" src='../../plugins/jquery/jquery-3.1.0.min.js'></script>-->
    <script src="../../plugins/mui/mui.min.js"></script>
    <script src="../../js/getApiToken.js"></script>
    <script src="../../js/md5.js"></script>
    <script type="text/javascript">
        mui.plusReady(function() {
            document.getElementById('addMsg').addEventListener('click',function () {
                mui.openWindow({
                    url: 'car-3.html',
                    id: 'car-3',
                    show: {
                        autoShow: true, //页面loaded事件发生后自动显示，默认为true
                        duration: 200 //页面动画持续时间，Android平台默认100毫秒，iOS平台默认200毫秒；
                    },
                    waiting: {
                        title: '正在加载...' //等待对话框上显示的提示内容
                    },
                    extras:{
                    }
                })
            });
            document.getElementById('score').addEventListener('click',function () {
                    mui.openWindow({
                    url:'../exchange/index.html',
                    id:'score',
                    waiting:{
                        autoShow:true,//自动显示等待框，默认为true
                        title:'正在加载...',//等待对话框上显示的提示内容
                    },
                    show:{
                        autoShow:true,
                        aniShow:'fade-in'
                    },
                    extras:{
                        toSign:false,
                        type:0
                    }
                })
            });
        })
    </script>
</body>
</html>